//
//  HXCategoaryCell.m
//  爱鲜蜂
//
//  Created by 建国 on 16/4/18.
//  Copyright © 2016年 建国. All rights reserved.
//

#import "HXCategoaryCell.h"

@interface HXCategoaryCell ()
@property (weak, nonatomic) IBOutlet UIView *yellowView;

@end

@implementation HXCategoaryCell

- (void)awakeFromNib {
    self.separatorInset = UIEdgeInsetsZero ;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    self.yellowView.hidden = !self.selected ;
    self.backgroundColor = selected ? [UIColor whiteColor] : HXGlobeColor ;
}



@end
